﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UserList.aspx.cs" Inherits="RaceList.activity.mhalloween.UserList" %>
<%@ Import Namespace="LinqDll" %>

<!DOCTYPE html>
<html>
    <head>
        <meta charset='utf-8' />

        <title>不给糖就捣乱</title>

        <meta name='keywords' content=''>
        <meta name='description' content=''>
        <meta name='viewport' content='width=device-width,initial-scale=1.0,maximum-scale=1,minimum-scale=1,user-scalable=no' />

        <link href='style/layout.css' rel='stylesheet' />
        <script src='js/jquery-1.9.1.min.js'></script>


    </head>
    <body>
        <section id='web_wrap'>
            <!-- 页面框架 -->
            <div class='container'>
                <div class='bg_box'>

                    <div class="ranking">
                        <div class="ranking_title">排 行 榜</div>
                        <div class="namebox">


                            <%
                                int num = WeixinUsers.Count();
                                foreach (WeixinUser item in WeixinUsers)
                                {
                                    int index = WeixinUsers.IndexOf(item) + 1;
                            %>
                                <div class="nameline">
                                    <a href="#">
                                        <div class="num"><%= item.Id %></div>
                                        <img src="<%= string.IsNullOrEmpty(item.Headimgurl) ? "images/user.jpg" : item.Headimgurl %>" alt="微信头像">
                                        <div class="name"><%= item.Nickname.SubHtml(8) %></div>
                                        <div class="clear"></div>
                                    </a>
                                </div>
                            <% } %>
                        </div>


                        <div class='clear'></div>
                    </div>
                </div>




            </div>



        </section>





    </body>
</html>
<script src='js/main.js'></script>